package com.flex.mobile.model;

import java.io.Serializable;
import java.util.Date;

public class TaxiOrder implements Serializable {
   private static final long serialVersionUID = -1026042748930600913L;
   private long id;
   private String orderNo;
   private int orderType;
   private Address startAddress;
   private Address endAddress;
   private Date startTime;
   
   private String airNum;
   private Date airDate;
   private String airPortCode;
   
   private String stationCode;
   private Date trainDate;
   private String trainNum;
   
   private String description;
   private User user;
   private User driver;
   private int status = 0;
   private Date createDate;
   /**
    * 0 - 实时订单
    * 1 - 接机订单
    * 2 - 送机订单
    * 3 - 接车订单
    * 4 - 送车订单
    */
   private int type = 0;
   public long getId() {
      return id;
   }
   public void setId(long id) {
      this.id = id;
   }
   public Address getStartAddress() {
      return startAddress;
   }
   public void setStartAddress(Address startAddress) {
      this.startAddress = startAddress;
   }
   public Address getEndAddress() {
      return endAddress;
   }
   public void setEndAddress(Address endAddress) {
      this.endAddress = endAddress;
   }
   public Date getStartTime() {
      return startTime;
   }
   public void setStartTime(Date startTime) {
      this.startTime = startTime;
   }
   public String getDescription() {
      return description;
   }
   public void setDescription(String description) {
      this.description = description;
   }
   public User getUser() {
      return user;
   }
   public void setUser(User user) {
      this.user = user;
   }
   public User getDriver() {
      return driver;
   }
   public void setDriver(User driver) {
      this.driver = driver;
   }
   public int getStatus() {
      return status;
   }
   public void setStatus(int value) {
      this.status = value;
   }
   public int getType() {
      return type;
   }
   public void setType(int type) {
      this.type = type;
   }
   public String getAirNum() {
      return airNum;
   }
   public void setAirNum(String airNum) {
      this.airNum = airNum;
   }
   public Date getAirDate() {
      return airDate;
   }
   public void setAirDate(Date airDate) {
      this.airDate = airDate;
   }
   public String getAirPortCode() {
      return airPortCode;
   }
   public void setAirPortCode(String airPortCode) {
      this.airPortCode = airPortCode;
   }
   public String getStationCode() {
      return stationCode;
   }
   public void setStationCode(String stationCode) {
      this.stationCode = stationCode;
   }
   public Date getTrainDate() {
      return trainDate;
   }
   public void setTrainDate(Date trainDate) {
      this.trainDate = trainDate;
   }
   public String getTrainNum() {
      return trainNum;
   }
   public void setTrainNum(String trainNum) {
      this.trainNum = trainNum;
   }
   public String getOrderNo() {
      return orderNo;
   }
   public void setOrderNo(String orderNo) {
      this.orderNo = orderNo;
   }
   public int getOrderType() {
      return orderType;
   }
   public void setOrderType(int orderType) {
      this.orderType = orderType;
   }
   public Date getCreateDate() {
      return createDate;
   }
   public void setCreateDate(Date createDate) {
      this.createDate = createDate;
   }
}
